package com.shilan.administrator.qintfm.fragment.tablayoutFragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.TextView;

import com.android.volley.toolbox.NetworkImageView;
import com.shilan.administrator.qintfm.R;
import com.shilan.administrator.qintfm.Utils.RoundedImageView;
import com.shilan.administrator.qintfm.adapter.RecommendListAdapter;
import com.shilan.administrator.qintfm.fragment.BaseFragment;

/**
 * Created by dllo on 16/1/26.
 */
public class PlayListFragment extends BaseFragment {
    private ListView listView;
    private LinearLayout linearPlayList;
    private RecommendListAdapter recommendListAdapter;
    private NetworkImageView bigHeaderIv;
    private RoundedImageView smallHeaderIv;
    private ImageView recomedBack;
    private long uId;
    private View playmusicListHead;
    private TextView recomdTotalCount,recomTitle,recommendHeardIntro,renickName,share_tv,
            recommend;


    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.playmusic_list,null);
        //播放详情列表 find组件
        listView= (ListView) view.findViewById(R.id.lv);
        linearPlayList = (LinearLayout) view.findViewById(R.id.linear_playlist);
        recomdTotalCount = (TextView) view.findViewById(R.id.recomdTotalCount);
        share_tv = (TextView) view.findViewById(R.id.share_tv);
        recommend = (TextView) view.findViewById(R.id.recommend);

        //绑定悬浮部分和头布局
        //悬浮 suspend 头布局
        View suspend = View.inflate(getContext(),R.layout.play_list_item,null);



        recomTitle = (TextView) view .findViewById(R.id.recomTitle);
        recommendHeardIntro = (TextView) view.findViewById(R.id.recommendHeardIntro);
        renickName = (TextView) view.findViewById(R.id.renickName);
        return view;
    }

}
